package com.eastfair.venueservice.service;

import com.eastfair.auth.entity.UserAccount;
import com.eastfair.auth.vo.UserAccountVo;
import com.eastfair.core.base.R;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

/**
 * 账户服务.
 *
 * @author dqq
 * @date 2022 /6/29
 */
public interface VenueManageUserAccountService {

    /**
     * 用户ID获取账户.
     *
     * @param id the id
     * @return the user account
     */
    UserAccount get(Long id);

    /**
     * 查询用户账号基本信息.
     *
     * @param var1 the var 1
     * @return the user account vo
     */
    UserAccountVo findSimpleById(Long var1);

    /**
     * 用户id批量查询账户.
     *
     * @param ids the ids
     * @return the map key-用户id; value-用户姓名
     */
    Map<Long, String> listUserAccount(List<Long> ids);
}
